Welcome![Sign In][Sign Up]
Location:
Search - lexical and syntax analyzer

Search list

[ELanguagebyyl122512003017

Description: 词法分析器和语法分析的一小部分 希望对大家会有帮助 -lexical analyzer and syntax analysis of a small portion of hope to be helpful
Platform: | Size: 41077 | Author: lin | Hits:

[ELanguagefr.5823.0.compiler

Description: 词法/语法分析器bison源码,最新版本bison-2.1,,Unix_Linux0120310340817.rar...编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。...词法分析原程序对C语言可-lexical / grammatical analyzer bison source, the latest version bison - 2.1,, Unix_Linux0120310340817.rar compiler theory ... LR (0) Symbol France analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and can be imported to the sentence syntax analysis output corresponding syntax tree. ... Lexical analysis procedure to the original C language can be
Platform: | Size: 166400 | Author: malll | Hits:

[ELanguage简单的YACC程序

Description: 目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pascal子集语言的语法分析器。 功能:程序由两个模块LEX和YACC构成,YACC使用LEX分析后的正规单词输出流-Objective : to prepare a simple procedure with YACC YACC lexical analysis of the basic tools to use, and the lexical analyzer designs. Preparation including assignment if statements containing Addition and multiplication of expressions such as grammatical structure of the pascal subset of the language syntax analyzer. Function : procedures by the two modules constitute LEX and YACC, YACC LEX analysis using the formal word output streams
Platform: | Size: 2026 | Author: 刘斌 | Hits:

[ELanguage词法分析Lex

Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Platform: | Size: 192512 | Author: 张永胜 | Hits:

[ELanguage简单的YACC程序

Description: 目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pascal子集语言的语法分析器。 功能:程序由两个模块LEX和YACC构成,YACC使用LEX分析后的正规单词输出流-Objective : to prepare a simple procedure with YACC YACC lexical analysis of the basic tools to use, and the lexical analyzer designs. Preparation including assignment if statements containing Addition and multiplication of expressions such as grammatical structure of the pascal subset of the language syntax analyzer. Function : procedures by the two modules constitute LEX and YACC, YACC LEX analysis using the formal word output streams
Platform: | Size: 2048 | Author: 刘斌 | Hits:

[ELanguagebyyl122512003017

Description: 词法分析器和语法分析的一小部分 希望对大家会有帮助 -lexical analyzer and syntax analysis of a small portion of hope to be helpful
Platform: | Size: 40960 | Author: lin | Hits:

[ELanguagegrammaranalyse12222

Description: 进行语法的分析,与词法分析器共同构成一个程序的分析器,检查程序错误等-syntax analysis, and the lexical analyzer together constitute a process analyzers, error checking procedures
Platform: | Size: 156672 | Author: daniao | Hits:

[ELanguagemyjava

Description: 我开发的一个用java语言实现的编译器,内含词法分析器,语法分析器,而且可以实现中间代码生成.用到了SLR算法和LR(1)算法-I developed a java language using the compiler, containing the lexical analyzer, syntax analyzer, and code generation can be achieved between. Used the SLR algorithm and LR (1) algorithm
Platform: | Size: 67584 | Author: 陈想 | Hits:

[ELanguagebyyl

Description: 编译原理词法分析器和语法分析。 主要实现布尔表达式!-Compilation Principle lexical analyzer and syntax analysis. The main achievement of Boolean expressions!
Platform: | Size: 3072 | Author: shanqingquan | Hits:

[ELanguagefuncdraw

Description: 构造词法分析器和语法分析器进行绘图,学编译的时候可以研究研究,用C写的-Lexical analyzer and syntax structure analyzer for mapping, learning can be studied when the compiler research, written by C
Platform: | Size: 50176 | Author: jiangniao | Hits:

[ELanguageCompileDesign

Description: 本次课程设计主要实现语法分析器的构造,该语法分析器能够分析词法分析器的结果,即单词二元式。在输入单词二元式后,能输出分析的结果。 1、构造LL(1)分析表 2、求句子的预测分析过程-The main achievement of the curriculum design of the structure parser, the syntax analyzer to analyze the results of lexical analyzer, that is, the dual-type words. Enter the word dualism in the rear can output the results of the analysis. 1, constructed LL (1) Analysis of Table 2, and the prediction analysis of the process of sentence
Platform: | Size: 409600 | Author: 穆鹏 | Hits:

[ELanguageLL1

Description: 一个用LL(1)文法的词法和语法分析器,-One with LL (1) grammar and syntax of the lexical analyzer,
Platform: | Size: 214016 | Author: yyx | Hits:

[ELanguageCompiler

Description: 一份完整的编译原理课程设计.设计了一个词法分析器和一个利用LL(1)算法实现的语法分析器.可以对C-语言编写的程序进行词法分析和语法分析,当出现错误时推断可能的原因.并最终用直观的方式构建起一棵语法分析树.-A complete compilation Principle. Designed a lexical analyzer and a use of LL (1) parser algorithm. Can be written in C-language program for lexical analysis and syntax analysis, may be inferred when an error occurs reasons. and eventually built up with an intuitive way to parse tree.
Platform: | Size: 269312 | Author: 无意乂 | Hits:

[ELanguagecomplier

Description: 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分 -We designed the compiler to compile the five stages involved in the three, namely, lexical analyzer, syntax analyzer and intermediate code generator. Compiler including lexical analysis, the output of the binary-type sequence, variable watches, state stack of the process show and four-type sequence program, the compiler is divided into three parts: (1) lexical analysis (2) parsing treatment and four part-type generation (3) the output display section
Platform: | Size: 77824 | Author: 刘彦生 | Hits:

[ELanguagebianyiqi

Description: 编译器的c语言实现源码包括词法分析器,语法和语义分析器的详细实现-C compiler source language, including lexical analyzer, syntax and semantics analyzer detailed implementation
Platform: | Size: 72704 | Author: gaolei | Hits:

[Windows Developlex-and-yacc

Description: 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。 对输入的程序语句进行分析。对每个非终结点定义单个函数,定义了它的后继节点。然后用一个构造来的函数,使定义的后继节点符合语法,否则报错。 -Analysis of the input process, the keywords, reserved words separate with the system identifier, and its properties are described. Create an array, read the word, the word of the ASCII code to judge the value in the ASCII code to distinguish a certain interval (using the if statement to determine), separately, the ASCII value of their range where different, giving different attributes (such as: the system of reserved words ...) After the lexical analyzer must be able to identify the+,-,= other characters. The input of the program statements for analysis. Defined for each single function of non-end point, defined its successor nodes. Then use a constructor to the function, so that subsequent nodes meet the definition of the syntax, or an error.
Platform: | Size: 107520 | Author: 凡亚东 | Hits:

[ELanguagebianyi1

Description: 词法分析器。根据所给文法是进行词法分析和语法分析的依据,并将该文法中涉及到的单词信息提取到了单词符号与种别对照表中。-Lexical analyzer. According to the grammar is lexical analysis and syntax analysis is based on and related to the word grammar in information extraction to other kinds of symbols and words in the table.
Platform: | Size: 3072 | Author: chris brown | Hits:

[JSP/Javachartparsing

Description: 英文的句法分析器,重复下面的操作直到agenda为空并且输入中没有下一个词 若agenda为空,则把句子中下一个词的各种词法符号(词性)加入进来, 从agenda中取一个元素(设为C,位置为:p1-p2) 对下面形式的每个规则: X->CX1...Xn,在activearcs中增加一条活动边:X->C o X1...Xn,位置为:p1-p2; X->C,把X加入agenda,位置为:p1-p2 边扩展 将C加入到chart的位置p1-p2 对每个形式为:X->X1... o C...Xn的活动边,若它在p0-p1之间,则在activearcs中增加一条活动边:X->X1... C o...Xn,位置:p0-p2 对每个形式为: X->X1... Xn o C的活动边,若它在p0-p1之间,则在agenda中增加一个成分:X,位置为:p0-p2 -English syntax analyzer, repeat the following operation until the agenda is empty and enter the next word, if there is no agenda is empty, put the next word in the sentence various lexical symbols (POS) joined in, take an element from the agenda of the (Set C, position: p1-p2) of each rule of the form: X-> CX1 ... Xn, an increase in the active edge activearcs: X-> C X1 ... Xn, location : p1-p2 X-> C, the X adding agenda, location: p1-p2 side extensions added to the chart position C p1-p2 for each form: X-> X1 ... C.. . Xn activity side, if it is between p0-p1, an increase in activity in activearcs side: X-> X1 ... C ... Xn, location: p0-p2 for each form: X-> X1 ... Xn C activity side, if it is between p0-p1, then add an ingredient in the agenda: X, location: p0-p2
Platform: | Size: 76800 | Author: reacher | Hits:

[OS programCompiler

Description: 算符优先文法分析器,支持简单的词法和语法分析,GUI可视化界面,代码简单明了-Operator precedence grammar analyzer, support simple lexical and syntax analysis, GUI visual interface, the code is simple and clear
Platform: | Size: 31744 | Author: 晨月 | Hits:

[ELanguageCGCompiler-master

Description: 一个编译器(仅词法分析、语法分析、部分语义分析,所以说是前端),拿来分享一下。 整个代码库具有如下功能: 提供编译器所需基础数据结构、计算流程框架类,可供继承使用; 提供基础数据结构的可视化控件; 提供类似YACC的词法分析器、语法分析器自动生成功能; 提供Win form程序,集成和扩展上述功能,方便研究和应用。-A compiler (only lexical analysis, syntax analysis, semantic analysis section, so that the front end), brought to share. The entire code base has the following functions: to provide compilers underlying data structures, calculation process framework classes, inheritance for use visual controls provide the basic data structure provide similar YACC lexical analyzer, parser function automatically generated provide Win form program, integrate and extend these functions to facilitate the study and application.
Platform: | Size: 846848 | Author: arjian | Hits:
« 1 23 4 »

CodeBus www.codebus.net